 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
	<meta http-equiv="Cache-Control" content="No-Cache">
	<meta http-equiv="Pragma" content="No-Cache">

	<title>운세의 신</title>

	<link rel="stylesheet" type="text/css" href="/css/common.css">
	<link rel="stylesheet" type="text/css" href="/css/sub.css">
    <link rel="stylesheet" type="text/css" href="/css/mypage.css">
	
	<link href="/css/lib/myconfig.jquery.validate.css" rel="stylesheet" type="text/css"/>
	<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.7.2/jquery.min.js"></script>
	<script src="/js/lib/jquery.validate.min.js" type="text/javascript"></script>

	<script type="text/javascript">
		$(document).ready(function() {
			$("#current_pwd").focus();

			$("#frm").validate({
				rules: {
					current_pwd: {
						required: true
					},
					pwd: {
						required: true,
						minlength: 6
					},
					pwd_again: {
						equalTo: "#pwd"
					}
				},
				messages: {
					current_pwd: {
						required: "현재 비밀번호를 입력하세요."
					},
					pwd: {
						required: "새비밀번호를 입력하세요.",
						minlength: "6자리 이상 입력하세요."
					},
					pwd_again: {
						equalTo: "위와 동일한 패스워드를 입력하세요."
					}
				},
				submitHandler: function(form) {
					form.submit();
				}
			});
		});
	</script>

</head>
<body>
<div id="wrap">
	<!-- Header -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_header.php'; ?>
	<!--// Header -->

	<!--커튼 데코레이션-->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/drape.php'; ?>
	<!--//커튼 데코레이션-->
	
	<!--컨텐츠-->
	<div id="content">
		<!--휘장-->
		<div class="keybox1">
		</div>
		<!--휘장-->

		<!--왼쪽 컨텐츠-->
		<div class="assistant">
			<!--왼쪽 메뉴-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/inc_lnb.php'; ?>
			<!--// 왼쪽 메뉴-->
			
			<!--추천테마-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/theme.php'; ?>
			<!--//추천테마-->
			
			<!--오늘의 추천! 무료운세-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/free.php'; ?>
			<!--//오늘의 추천! 무료운세-->
			
			<!--후기게시판-->
			<?php echo $INC_POSTSCRIPT_LIST ?>
			<!--//후기게시판-->
			
			<!--회원배너-->
			<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/static/member_join.php'; ?>
			<!--//회원배너-->
		</div>
		<!--//왼쪽 컨텐츠-->

		<!-- 메인컨텐츠-->
		<div class="cont">
			 <div class="mypage">
				<h3>비밀번호 변경</h3>
				<div class="text">
					<ul>
						<li class="t_text"><span>회원님의 소중한 정보를 안전하게 보호하기 위하여 새로운 비밀번호로 변경해 주세요.</span></li>
						<li >현재 비밀번호를 입력하신 후 새로 사용하실 비밀번호를 입력하시면 됩니다.</li>
					</ul>
				</div>
				<form id="frm" method="post" action="/mypage/change/password_ok">
					<div class="password1">
						<fieldset>
							<legend>비밀번호변경</legend>
							<table width="100%" summary="" cellpadding="0" cellspacing="0">
								<colgroup>
									<col width="140" />
									<col width="*" />
								</colgroup>
								<tbody>
									<tr>
										<th scope="row">
											<label for="current_pwd">현재 비밀번호</label>
										</th>
										<td>
											<input type="password" name="current_pwd" id="current_pwd" title="현재 비밀번호를 입력하세요." class="inpText"  />
										</td>
									</tr>
									<tr>
										<th scope="row">
											<label for="pwd">새비밀번호</label>
										</th>
										<td>
											<input type="password" name="pwd" id="pwd" maxlength="20" title="새비밀번호를 입력하세요." class="inpText"/>
										</td>
									</tr>
									<tr>
										<th scope="row" class="fh">
											<label for="pwd_again">비밀번호 확인</label>
										</th>
										<td>
											<input type="password" name="pwd_again" id="pwd_again" maxlength="20" title="비밀번호를 확인하세요." class="inpText" />
											<br><br><span class="alr">재확인을 위하여 입력하신 비밀번호를 다시 한번 입력해주세요.</span>
										</td>
									</tr>
								</tbody>
							</table>
						</fieldset>
					
				   		<div class="idtext">
							<dl>
								<dd>쉬운 비밀번호나 자주 쓰는 사이트의 비밀번호가 같을 경우 도용되기 쉬우므로 주기적으로 변경하시기 바랍니다. </dd>
								<dd>비밀번호는 영문과 숫자 혼용 6 ~ 20자 이내로 작성해 주세요.</dd>
							</dl>
						</div>
						<!--인증설명--> 
						
					</div><!--//password1-->
	
					<div class="bt_area">
						<input type="image" src="/images/common/bt_ok.png" alt="확인"  class="yes" />
						<a href="javascript:;" onclick="location.href='/';" class="btno"><img src="/images/common/bt_cancle.png" alt="취소" /></a>
					</div> 
				</form>
			</div><!--mypage--> 
		</div>
		<!--// 메인컨텐츠-->
	</div>
	<!--컨텐츠-->

	<!-- Footer -->
	<? include_once $_SERVER['DOCUMENT_ROOT'].'/include/commons/main_footer.php'; ?>
	<!--// Footer -->
</div>
</body>
</html>